package com.mm.service;

import com.mm.mapper.UserMapper;
import com.mm.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author XiaoLuo
 * @ClassName: UserService
 * @Description: ${todo}
 * @date 2019/4/6 16:11
 */
@Service public class UserService {

	@Autowired private UserMapper userMapper;

	public User queryUserById(Long id) {
		return this.userMapper.selectByPrimaryKey(id);

	}
}
